<script setup lang="jsx">
const state = reactive({ input: '', })
defineRender(() => {
  return (
    <div>
    表单
      <div>
        <div>实时值：{state.input}</div>
        <input
          value={state.input}
          onInput={(e) => {
            state.input = e.target.value
          }}
        />
      </div>
    </div>
  )
})
</script>
